package com.rmb.service;


import org.apache.ibatis.annotations.Param;

import javax.servlet.http.HttpServletRequest;
import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * @ClassName LogAddressService
 * @Description TODO
 * @Author lvshook
 * @Date 2021/1/20 10:56
 * @Version 1.0
 **/

public interface LogAddressService {

    /**
     * 查询进一次登陆时间
     * @param uid
     * @return
     */
    Date findone(Long uid);

    /**
     * 获取ip 以及地址
     * @param request
     * @return
     */
    Map getip(HttpServletRequest request);

    /**
     * 登录记录表
     * @param uid
     * @return
     */
    List logAll(Long uid);
}
